﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace clq_function
{
    class Program
    {
        static void Main(string[] args)
        {
            //FileClass file = new FileClass();
            //string filePath = @"C:\Users\liangqi\Desktop\0571-0010-hz\Statics.txt";
            //file.readTxt(filePath);

            TypeConversion tc = new TypeConversion();
            //string hex = tc.IntegerToHex(10);
            //Console.WriteLine(hex);

            //string binary = tc.IntegerToBinary(10);
            //Console.WriteLine(binary);

            //int num = tc.BinaryToInteger("1010");
            //Console.WriteLine(num);

            //string hex = tc.BinaryToHex("1010");
            //Console.WriteLine(hex);
            //int num = tc.HexToInteger("ff");
            //Console.WriteLine(num);

            //string ascii = tc.HexToAscii("41");
            //Console.WriteLine(ascii);

            //string binary = tc.HexToBinary("1f");

            string str = tc.HexToAscii("2b");
            str += tc.HexToInteger("04d0");
            Console.WriteLine(str);

            Console.ReadKey();
        }
    }
}
